package com.zcxy360.sandtable.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CourseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CourseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCourseIdIsNull() {
            addCriterion("course.course_id is null");
            return (Criteria) this;
        }

        public Criteria andCourseIdIsNotNull() {
            addCriterion("course.course_id is not null");
            return (Criteria) this;
        }

        public Criteria andCourseIdEqualTo(Integer value) {
            addCriterion("course.course_id =", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdNotEqualTo(Integer value) {
            addCriterion("course.course_id <>", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdGreaterThan(Integer value) {
            addCriterion("course.course_id >", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.course_id >=", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdLessThan(Integer value) {
            addCriterion("course.course_id <", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdLessThanOrEqualTo(Integer value) {
            addCriterion("course.course_id <=", value, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdIn(List<Integer> values) {
            addCriterion("course.course_id in", values, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdNotIn(List<Integer> values) {
            addCriterion("course.course_id not in", values, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdBetween(Integer value1, Integer value2) {
            addCriterion("course.course_id between", value1, value2, "courseId");
            return (Criteria) this;
        }

        public Criteria andCourseIdNotBetween(Integer value1, Integer value2) {
            addCriterion("course.course_id not between", value1, value2, "courseId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("course.user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("course.user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("course.user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("course.user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("course.user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("course.user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("course.user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("course.user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("course.user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("course.user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("course.user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNull() {
            addCriterion("course.org_id is null");
            return (Criteria) this;
        }

        public Criteria andOrgIdIsNotNull() {
            addCriterion("course.org_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrgIdEqualTo(Integer value) {
            addCriterion("course.org_id =", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotEqualTo(Integer value) {
            addCriterion("course.org_id <>", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThan(Integer value) {
            addCriterion("course.org_id >", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.org_id >=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThan(Integer value) {
            addCriterion("course.org_id <", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdLessThanOrEqualTo(Integer value) {
            addCriterion("course.org_id <=", value, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdIn(List<Integer> values) {
            addCriterion("course.org_id in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotIn(List<Integer> values) {
            addCriterion("course.org_id not in", values, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdBetween(Integer value1, Integer value2) {
            addCriterion("course.org_id between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andOrgIdNotBetween(Integer value1, Integer value2) {
            addCriterion("course.org_id not between", value1, value2, "orgId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("course.name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("course.name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("course.name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("course.name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("course.name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("course.name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("course.name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("course.name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("course.name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("course.name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("course.name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("course.name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("course.name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("course.name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andIntroIsNull() {
            addCriterion("course.intro is null");
            return (Criteria) this;
        }

        public Criteria andIntroIsNotNull() {
            addCriterion("course.intro is not null");
            return (Criteria) this;
        }

        public Criteria andIntroEqualTo(String value) {
            addCriterion("course.intro =", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotEqualTo(String value) {
            addCriterion("course.intro <>", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroGreaterThan(String value) {
            addCriterion("course.intro >", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroGreaterThanOrEqualTo(String value) {
            addCriterion("course.intro >=", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLessThan(String value) {
            addCriterion("course.intro <", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLessThanOrEqualTo(String value) {
            addCriterion("course.intro <=", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroLike(String value) {
            addCriterion("course.intro like", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotLike(String value) {
            addCriterion("course.intro not like", value, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroIn(List<String> values) {
            addCriterion("course.intro in", values, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotIn(List<String> values) {
            addCriterion("course.intro not in", values, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroBetween(String value1, String value2) {
            addCriterion("course.intro between", value1, value2, "intro");
            return (Criteria) this;
        }

        public Criteria andIntroNotBetween(String value1, String value2) {
            addCriterion("course.intro not between", value1, value2, "intro");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("course.type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("course.type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("course.type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("course.type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("course.type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("course.type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("course.type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("course.type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("course.type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("course.type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("course.type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTeamCountIsNull() {
            addCriterion("course.team_count is null");
            return (Criteria) this;
        }

        public Criteria andTeamCountIsNotNull() {
            addCriterion("course.team_count is not null");
            return (Criteria) this;
        }

        public Criteria andTeamCountEqualTo(Integer value) {
            addCriterion("course.team_count =", value, "teamCount");
            return (Criteria) this;
        }

        public Criteria andTeamCountNotEqualTo(Integer value) {
            addCriterion("course.team_count <>", value, "teamCount");
            return (Criteria) this;
        }

        public Criteria andTeamCountGreaterThan(Integer value) {
            addCriterion("course.team_count >", value, "teamCount");
            return (Criteria) this;
        }

        public Criteria andTeamCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.team_count >=", value, "teamCount");
            return (Criteria) this;
        }

        public Criteria andTeamCountLessThan(Integer value) {
            addCriterion("course.team_count <", value, "teamCount");
            return (Criteria) this;
        }

        public Criteria andTeamCountLessThanOrEqualTo(Integer value) {
            addCriterion("course.team_count <=", value, "teamCount");
            return (Criteria) this;
        }

        public Criteria andTeamCountIn(List<Integer> values) {
            addCriterion("course.team_count in", values, "teamCount");
            return (Criteria) this;
        }

        public Criteria andTeamCountNotIn(List<Integer> values) {
            addCriterion("course.team_count not in", values, "teamCount");
            return (Criteria) this;
        }

        public Criteria andTeamCountBetween(Integer value1, Integer value2) {
            addCriterion("course.team_count between", value1, value2, "teamCount");
            return (Criteria) this;
        }

        public Criteria andTeamCountNotBetween(Integer value1, Integer value2) {
            addCriterion("course.team_count not between", value1, value2, "teamCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountIsNull() {
            addCriterion("course.person_count is null");
            return (Criteria) this;
        }

        public Criteria andPersonCountIsNotNull() {
            addCriterion("course.person_count is not null");
            return (Criteria) this;
        }

        public Criteria andPersonCountEqualTo(Integer value) {
            addCriterion("course.person_count =", value, "personCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountNotEqualTo(Integer value) {
            addCriterion("course.person_count <>", value, "personCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountGreaterThan(Integer value) {
            addCriterion("course.person_count >", value, "personCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.person_count >=", value, "personCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountLessThan(Integer value) {
            addCriterion("course.person_count <", value, "personCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountLessThanOrEqualTo(Integer value) {
            addCriterion("course.person_count <=", value, "personCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountIn(List<Integer> values) {
            addCriterion("course.person_count in", values, "personCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountNotIn(List<Integer> values) {
            addCriterion("course.person_count not in", values, "personCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountBetween(Integer value1, Integer value2) {
            addCriterion("course.person_count between", value1, value2, "personCount");
            return (Criteria) this;
        }

        public Criteria andPersonCountNotBetween(Integer value1, Integer value2) {
            addCriterion("course.person_count not between", value1, value2, "personCount");
            return (Criteria) this;
        }

        public Criteria andIsFreeIsNull() {
            addCriterion("course.is_free is null");
            return (Criteria) this;
        }

        public Criteria andIsFreeIsNotNull() {
            addCriterion("course.is_free is not null");
            return (Criteria) this;
        }

        public Criteria andIsFreeEqualTo(Boolean value) {
            addCriterion("course.is_free =", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeNotEqualTo(Boolean value) {
            addCriterion("course.is_free <>", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeGreaterThan(Boolean value) {
            addCriterion("course.is_free >", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("course.is_free >=", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeLessThan(Boolean value) {
            addCriterion("course.is_free <", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeLessThanOrEqualTo(Boolean value) {
            addCriterion("course.is_free <=", value, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeIn(List<Boolean> values) {
            addCriterion("course.is_free in", values, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeNotIn(List<Boolean> values) {
            addCriterion("course.is_free not in", values, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeBetween(Boolean value1, Boolean value2) {
            addCriterion("course.is_free between", value1, value2, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsFreeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("course.is_free not between", value1, value2, "isFree");
            return (Criteria) this;
        }

        public Criteria andIsOverIsNull() {
            addCriterion("course.is_over is null");
            return (Criteria) this;
        }

        public Criteria andIsOverIsNotNull() {
            addCriterion("course.is_over is not null");
            return (Criteria) this;
        }

        public Criteria andIsOverEqualTo(Boolean value) {
            addCriterion("course.is_over =", value, "isOver");
            return (Criteria) this;
        }

        public Criteria andIsOverNotEqualTo(Boolean value) {
            addCriterion("course.is_over <>", value, "isOver");
            return (Criteria) this;
        }

        public Criteria andIsOverGreaterThan(Boolean value) {
            addCriterion("course.is_over >", value, "isOver");
            return (Criteria) this;
        }

        public Criteria andIsOverGreaterThanOrEqualTo(Boolean value) {
            addCriterion("course.is_over >=", value, "isOver");
            return (Criteria) this;
        }

        public Criteria andIsOverLessThan(Boolean value) {
            addCriterion("course.is_over <", value, "isOver");
            return (Criteria) this;
        }

        public Criteria andIsOverLessThanOrEqualTo(Boolean value) {
            addCriterion("course.is_over <=", value, "isOver");
            return (Criteria) this;
        }

        public Criteria andIsOverIn(List<Boolean> values) {
            addCriterion("course.is_over in", values, "isOver");
            return (Criteria) this;
        }

        public Criteria andIsOverNotIn(List<Boolean> values) {
            addCriterion("course.is_over not in", values, "isOver");
            return (Criteria) this;
        }

        public Criteria andIsOverBetween(Boolean value1, Boolean value2) {
            addCriterion("course.is_over between", value1, value2, "isOver");
            return (Criteria) this;
        }

        public Criteria andIsOverNotBetween(Boolean value1, Boolean value2) {
            addCriterion("course.is_over not between", value1, value2, "isOver");
            return (Criteria) this;
        }

        public Criteria andPersonWeightIsNull() {
            addCriterion("course.person_weight is null");
            return (Criteria) this;
        }

        public Criteria andPersonWeightIsNotNull() {
            addCriterion("course.person_weight is not null");
            return (Criteria) this;
        }

        public Criteria andPersonWeightEqualTo(Integer value) {
            addCriterion("course.person_weight =", value, "personWeight");
            return (Criteria) this;
        }

        public Criteria andPersonWeightNotEqualTo(Integer value) {
            addCriterion("course.person_weight <>", value, "personWeight");
            return (Criteria) this;
        }

        public Criteria andPersonWeightGreaterThan(Integer value) {
            addCriterion("course.person_weight >", value, "personWeight");
            return (Criteria) this;
        }

        public Criteria andPersonWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.person_weight >=", value, "personWeight");
            return (Criteria) this;
        }

        public Criteria andPersonWeightLessThan(Integer value) {
            addCriterion("course.person_weight <", value, "personWeight");
            return (Criteria) this;
        }

        public Criteria andPersonWeightLessThanOrEqualTo(Integer value) {
            addCriterion("course.person_weight <=", value, "personWeight");
            return (Criteria) this;
        }

        public Criteria andPersonWeightIn(List<Integer> values) {
            addCriterion("course.person_weight in", values, "personWeight");
            return (Criteria) this;
        }

        public Criteria andPersonWeightNotIn(List<Integer> values) {
            addCriterion("course.person_weight not in", values, "personWeight");
            return (Criteria) this;
        }

        public Criteria andPersonWeightBetween(Integer value1, Integer value2) {
            addCriterion("course.person_weight between", value1, value2, "personWeight");
            return (Criteria) this;
        }

        public Criteria andPersonWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("course.person_weight not between", value1, value2, "personWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightIsNull() {
            addCriterion("course.team_weight is null");
            return (Criteria) this;
        }

        public Criteria andTeamWeightIsNotNull() {
            addCriterion("course.team_weight is not null");
            return (Criteria) this;
        }

        public Criteria andTeamWeightEqualTo(Integer value) {
            addCriterion("course.team_weight =", value, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightNotEqualTo(Integer value) {
            addCriterion("course.team_weight <>", value, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightGreaterThan(Integer value) {
            addCriterion("course.team_weight >", value, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.team_weight >=", value, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightLessThan(Integer value) {
            addCriterion("course.team_weight <", value, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightLessThanOrEqualTo(Integer value) {
            addCriterion("course.team_weight <=", value, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightIn(List<Integer> values) {
            addCriterion("course.team_weight in", values, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightNotIn(List<Integer> values) {
            addCriterion("course.team_weight not in", values, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightBetween(Integer value1, Integer value2) {
            addCriterion("course.team_weight between", value1, value2, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andTeamWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("course.team_weight not between", value1, value2, "teamWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightIsNull() {
            addCriterion("course.completion_weight is null");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightIsNotNull() {
            addCriterion("course.completion_weight is not null");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightEqualTo(Integer value) {
            addCriterion("course.completion_weight =", value, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightNotEqualTo(Integer value) {
            addCriterion("course.completion_weight <>", value, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightGreaterThan(Integer value) {
            addCriterion("course.completion_weight >", value, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.completion_weight >=", value, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightLessThan(Integer value) {
            addCriterion("course.completion_weight <", value, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightLessThanOrEqualTo(Integer value) {
            addCriterion("course.completion_weight <=", value, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightIn(List<Integer> values) {
            addCriterion("course.completion_weight in", values, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightNotIn(List<Integer> values) {
            addCriterion("course.completion_weight not in", values, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightBetween(Integer value1, Integer value2) {
            addCriterion("course.completion_weight between", value1, value2, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andCompletionWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("course.completion_weight not between", value1, value2, "completionWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightIsNull() {
            addCriterion("course.performance_weight is null");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightIsNotNull() {
            addCriterion("course.performance_weight is not null");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightEqualTo(Integer value) {
            addCriterion("course.performance_weight =", value, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightNotEqualTo(Integer value) {
            addCriterion("course.performance_weight <>", value, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightGreaterThan(Integer value) {
            addCriterion("course.performance_weight >", value, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("course.performance_weight >=", value, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightLessThan(Integer value) {
            addCriterion("course.performance_weight <", value, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightLessThanOrEqualTo(Integer value) {
            addCriterion("course.performance_weight <=", value, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightIn(List<Integer> values) {
            addCriterion("course.performance_weight in", values, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightNotIn(List<Integer> values) {
            addCriterion("course.performance_weight not in", values, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightBetween(Integer value1, Integer value2) {
            addCriterion("course.performance_weight between", value1, value2, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andPerformanceWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("course.performance_weight not between", value1, value2, "performanceWeight");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("course.start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("course.start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("course.start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("course.start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("course.start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("course.start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("course.start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("course.start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("course.start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("course.start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("course.start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("course.start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("course.create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("course.create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("course.create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("course.create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("course.create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("course.create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("course.create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("course.create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("course.create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("course.create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("course.create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("course.create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("course.update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("course.update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("course.update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("course.update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("course.update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("course.update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("course.update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("course.update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("course.update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("course.update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("course.update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("course.update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andCompletionIsNull() {
            addCriterion("course.completion is null");
            return (Criteria) this;
        }

        public Criteria andCompletionIsNotNull() {
            addCriterion("course.completion is not null");
            return (Criteria) this;
        }

        public Criteria andCompletionEqualTo(Double value) {
            addCriterion("course.completion =", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionNotEqualTo(Double value) {
            addCriterion("course.completion <>", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionGreaterThan(Double value) {
            addCriterion("course.completion >", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionGreaterThanOrEqualTo(Double value) {
            addCriterion("course.completion >=", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionLessThan(Double value) {
            addCriterion("course.completion <", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionLessThanOrEqualTo(Double value) {
            addCriterion("course.completion <=", value, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionIn(List<Double> values) {
            addCriterion("course.completion in", values, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionNotIn(List<Double> values) {
            addCriterion("course.completion not in", values, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionBetween(Double value1, Double value2) {
            addCriterion("course.completion between", value1, value2, "completion");
            return (Criteria) this;
        }

        public Criteria andCompletionNotBetween(Double value1, Double value2) {
            addCriterion("course.completion not between", value1, value2, "completion");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}